package org.devgframwork.flowsystem.api.admin.user.entity.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

/**
 * @author duheng
 * @Date 2021/11/13 18:01
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UserVo {

    @Length(min = 4, max = 12, message = "登录名长度必须位于4到12之间")
    private String loginName;

    @Length(min = 6, max = 12, message = "密码长度必须位于6到12之间")
    private String password;

}
